﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dimas.Framework.Entity;
using Dimas.Framework.Interface.Repostory;
using StructureMap;

namespace Dimas.Service.BL
{
    public class SampleProvider
    {
        public ResponseSampleService GetById(int Id)
        {
            var repository = ObjectFactory.GetInstance<IEntityFrameworkSampleRepository>();
            var result = repository.GetById(Id);
            return result;
        }

        
    }
}
